package com.gxa.ssm340.service;

import com.gxa.ssm340.entity.dto.CollectCpnDTO;
import com.gxa.ssm340.entity.pojo.Coupon;

import java.util.Date;
import java.util.List;

public interface CpnService {

    List<Coupon> selectNotGetCpn(String phone);
    List<Coupon> selectGetCpn(String phone);
    List<Coupon> selectOverExpire(Date nowTime);


    Integer addGet(CollectCpnDTO collectCpnDTO);

    List<Coupon> selectUsedCpn(String phone);
    List<Coupon> selectMyOverExpire(String phone);
}
